package com.javafactroy.kunlong.api.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import com.javafactroy.kunlong.api.entity.DepartmentApiEntity;
import lombok.experimental.Accessors;

import javax.persistence.*;
import java.util.List;

/**
*  @author raymond.lei@163.com
*  @date   2023-11-05 10:43:14

*/
@Data
@Table(name="department")
@Accessors(chain = true)
public class DepartmentApiDto extends DepartmentApiEntity {
    @JsonInclude(JsonInclude.Include.NON_NULL)
    List<EmployeeApiDto> emps;

}